const Router = require('koa-router');
const fileController = require('../controllers/fileController');
const checkChunkMiddleware =require('../middleware/checkChunkMiddleware')
const uploadMiddleware =require('../middleware/uploadMiddleware')

const router = new Router();

router.post('/file/upload',checkChunkMiddleware , fileController.uploadFileSlice);
router.get('/file/check', fileController.checkFile);
router.post('/file/merge', fileController.mergeFile);

module.exports = router;
